<?php

// Admin pages have a custom header/footer

pref('[Loop]/views/pathToSnippetFooter.html', '/[Loop]/Html/Snippet.Admin.Footer.html');
pref('[Loop]/views/pathToSnippetHeader.html', '/[Loop]/Html/Snippet.Admin.Header.html');


// Get variables

$api = fv('api', true);
$fileName = fv('fileName', true);
$extensionId = fv('extensionId', true);
$directory = fv('directory', true);


// Get the api parameters

$parameters = app()->getApiManager()->getApiArguments($api, $directory, $extensionId, $fileName);


// Prepare variables for the view

v('api', $api);
v('directory', $directory);
v('extensionId', $extensionId);
v('fileName', $fileName);
v('parameters', $parameters);

?>